package io_0927;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description: 创建目录(文件夹)
 * Date: 2022-09-28
 * Time: 11:04
 */
public class Demo4 {
    public static void main(String[] args) {
        File file = new File("./testIO");
        //mk->make dir->directory => 创建目录.
        file.mkdir(); // 创建单层目录

        File file2 = new File("./testIO2/test/IO");
        file2.mkdirs(); // 创建多层目录
    }
}
